home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / TUGU10.ZIP / FRACTAL.DOC < prev    next >
Text File  |  1995-04-06  |  5KB  |  84 lines

  1.             _______
  2.        The /Fractal\___
  3.            \__ Creator \     
  4.               \________/    
  5.               
  6.  * Code copyright 1995 by Jason Rennie *
  7.  
  8. This program was created with two purposes in mind.  First, to give you an
  9. example of what TUGU & JMOUSE are capable of and show you have it can be done.
  10. Second, to give you some instant gratification and an easy way to explore
  11. the Mandelbrot and Julia Sets.
  12.  
  13. The code is provided for this program so you can see exactly how some of the
  14. procedures and functions are used in real programming.  Numerous times I
  15. have found myself trying to pick apart documentation to figure out just how
  16. a routine is supposed to be used and for some reason the docs keep running
  17. around important issues.  With this example program, you can see exacltly
  18. what needs to be done in order to work with the routines provided.
  19.  
  20.  
  21.      On to how to operate the Fractal Creator.  The Fractal Creator interface
  22.      is pretty simple.  It uses the mouse for nearly all of its operations
  23.      and is fairly intuitive.
  24.  
  25.      Upon starting the Fractal Creator, you will be asked the number of
  26.      itterations you would like the program to run through for each pixel.
  27.      This value has a serious effect on how detailed the fractal will be
  28.      and also how long the fractal will take to generate.  I have a 486dx2/66
  29.      and have found that 256 works nicely for my taste.  If you do not
  30.      have a coprocessor, this value will need to be reduced drastically.
  31.  
  32.      After entering this, you will be shown the overall image of the
  33.      Mandelbrot set.  In this interface, you may either draw a zoom box and
  34.      have the program redraw that area of the fractal in greater detail or
  35.      press the right mouse button for a list of menu options.
  36.  
  37.      If you choose to zoom in to the fractal, you will first need to draw
  38.      the zoom box before hitting the right mouse button.  Press the left
  39.      mouse button to choose the upper left corner of the box and release
  40.      the button for the lower right corner.  If it is not exactly how you
  41.      want, you may draw another box and the first will be ignored.  Once you
  42.      have outlined the zoom box you want, press the right mouse button and
  43.      choose "ZOOM IN" with the left mouse button.  The program will redraw
  44.      the fractal with the limits you desired.
  45.  
  46.      If you find that you made a mistake zooming in and would like to move
  47.      back, press the right mouse button and choose "ZOOM OUT."  A certain
  48.      number of fractal images are saved in memory so that you will instantly
  49.      be returned to the previous image instead of having to wait for it to
  50.      be redrawn.
  51.  
  52.      Another one of the menu buttons is "RESTART."  This will take you back
  53.      to the very beginning of the fractal, displaying the full Mandelbrot
  54.      Set and erasing any zooms saved in memory.
  55.  
  56.      If you find the colors used to draw the Fractal to be a little boring or
  57.      dull, you may choose "CHG PAL" to change the palette.  Each selection
  58.      of CHG PAL will rotate one notch through the wide selection of color
  59.      possibilities.
  60.  
  61.      While the fractals are nice to see on the screen, it is likely that you
  62.      will find a few that you especially like and would like to preserve for
  63.      future viewing.  The Fractal Creator has and option that will allow you
  64.      to do so.  When you do find one that is appealing, set the palette that
  65.      you prefer it in and then choose the "PCX SAVE" option.  This will 
  66.      automatically save the image into a file called "fractal.pcx"  When
  67.      you exit the program you will probably want to change the file name so
  68.      it is not overwritten with future uses of PCX Save.
  69.  
  70.      The final menu option, "JULIA" allows you to explore beyond the 
  71.      Mandelbrot Set and into the Julia Set.  Each point in the Mandelbrot Set
  72.      has its own, unique Julia Set, so after choosing "JULIA," you will need
  73.      to click a point on the screen according to which Julia Set you desire.
  74.  
  75.      To quit Fractal at any time, simply press the Escape key and you will
  76.      be returned to DOS.
  77.  
  78. That's about all for Fractal.  As I said before, the code is included in the
  79. shareware release so you can see just how to implement all of the routines
  80. provided with TUGU and JMOUSE.  One thing to make sure of, however.  The file
  81. "mandel.pcx" is needed to run fractal - it provides a quick display of the
  82. opening fractal for the standard mandelbrot set.
  83.  
  84.